package com.xqb.modules.mapper;

import com.xqb.modules.domain.po.OrdOrderDetail;

import java.util.List;

/**
 * 订单明细Mapper接口
 * 
 * @author xqb
 * @date 2024-10-14
 */
public interface OrdOrderDetailMapper 
{
    /**
     * 查询订单明细
     * 
     * @param id 订单明细主键
     * @return 订单明细
     */
    public OrdOrderDetail selectOrdOrderDetailById(Long id);

    /**
     * 查询订单明细列表
     * 
     * @param ordOrderDetail 订单明细
     * @return 订单明细集合
     */
    public List<OrdOrderDetail> selectOrdOrderDetailList(OrdOrderDetail ordOrderDetail);

    /**
     * 新增订单明细
     * 
     * @param ordOrderDetail 订单明细
     * @return 结果
     */
    public int insertOrdOrderDetail(OrdOrderDetail ordOrderDetail);

    /**
     * 修改订单明细
     * 
     * @param ordOrderDetail 订单明细
     * @return 结果
     */
    public int updateOrdOrderDetail(OrdOrderDetail ordOrderDetail);

    /**
     * 删除订单明细
     * 
     * @param id 订单明细主键
     * @return 结果
     */
    public int deleteOrdOrderDetailById(Long id);

    /**
     * 批量删除订单明细
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOrdOrderDetailByIds(Long[] ids);
}
